package com.baizhi.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

//拍卖纪录实体类
public class AuctionRecord implements Serializable {
    private Integer id;
    private Date time;//竞拍时间
    private Double price;//竞拍价格
    private User user;
    private Auction auction;

    public AuctionRecord() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Auction getAuction() {
        return auction;
    }

    public void setAuction(Auction auction) {
        this.auction = auction;
    }

    @Override
    public String toString() {
        return "AuctionRecord{" +
                "id=" + id +
                ", time=" + time +
                ", price=" + price +
                ", user=" + user +
                ", auction=" + auction +
                '}';
    }
}
